package P6.T01;

public class T01 {
    public static DealMethods ds=new DealMethods();
    public static void main(String[] args) {
        ds.AddDealMethod(new DealMethod1());
        ds.AddDealMethod(new DealMethod2());
        for (int i = 1; i <= 10; i++) {
            if(i%2==1)ds.DealODD(i);
            else ds.DealEven(i);
        }
    }
}
